Automattic\WooCommerce\GoogleListingsAndAds\API\Google\Middleware A

Total Complexity 66
Dependencies 14
Dependents 7
Total lines 616
Lines of code 371
Logical lines of code 182
Comment lines 155
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
create_ads_account()
A
43 6 49
create_merchant_account_request()
S
46 6 39
get_account_review_status()
S
51 6 25
claim_merchant_website()
S
48 5 32
link_ads_account()
S
48 5 32
link_merchant_to_mca()
S
50 5 28
account_request_review()
S
46 4 42
get_merchant_accounts()
S
54 5 20
is_subaccount()
S
57 5 16
create_merchant_account()
S
54 4 22
mark_tos_accepted()
S
52 3 25
new_account_name()
S
74 2 4
check_tos_accepted()
S
63 2 10
get_manager_url()
S
74 2 4
get_tos_url()
S
74 2 4
default_account_name()
S
71 1 6
get_site_timezone_string()
S
70 1 6
link_merchant_account()
S
77 1 4
__construct()
S
81 1 3